# Contributor: Guy Godfroy <guy.godfroy@gugod.fr>
# Maintainer: Guy Godfroy <guy.godfroy@gugod.fr>
pkgname=git-quick-stats
pkgver=2.5.5
pkgrel=0
pkgdesc="Access various statistics in git repository"
url="https://git-quick-stats.sh"
arch="noarch"
license="MIT"
depends="bash git util-linux ncurses coreutils"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/arzzen/git-quick-stats/archive/refs/tags/$pkgver.tar.gz"

check() {
	bash tests/commands_test.sh
}

package() {
	install -Dm0755 git-quick-stats -t "$pkgdir"/usr/bin/
	install -Dm0644 git-quick-stats.1 -t "$pkgdir"/usr/share/man/man1/
}

sha512sums="
d7df73b3bf0953e334ace67aea7328f183405384df26f2b54f5b7c311c76adcfd38de52b5898094796c0b4abe1835c69b9aa664905efd27e5cc8f71f75c31f1b  git-quick-stats-2.5.5.tar.gz
"
